//
//  TTDiscoverArticleMainTableViewCell.m
//  Adorable_Things
//
//  Created by lanou on 16/1/12.
//  Copyright © 2016年 Banana Inc. All rights reserved.
//

#import "TTDiscoverArticleMainTableViewCell.h"

@implementation TTDiscoverArticleMainTableViewCell

- (void)awakeFromNib {
    // Initialization code
    self.layer.masksToBounds = YES;
    self.layer.cornerRadius = 5;
    
}

- (void)setFrame:(CGRect)frame
{
    CGRect newframe = frame;
    newframe.origin.x += 15;
    newframe.size.width -= 30;
    newframe.origin.y += 5;
    newframe.size.height -= 10;
    [super setFrame:newframe];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
